TotalContest\Submission\Model D

Total Complexity 146
Dependencies 23
Dependents 6
Total lines 1,465
Lines of code 577
Logical lines of code 308
Comment lines 701
Methods 74
Properties 14

Methods 74

Method Rating Maintainability Complexity Lines of code
getBlocks()
A
46 14 35
__construct()
A
42 9 48
incrementRatings()
S
51 6 25
getVisibleFields()
S
53 6 22
getDateDiffForHuman()
S
56 6 16
isAcceptingVotes()
S
57 4 17
getSeoAttributes()
S
58 4 15
getBindings()
S
49 3 29
toArray()
S
47 2 36
getDetailedRatings()
S
56 3 16
getThumbnailUrl()
S
62 4 10
compileExpressions()
S
62 3 11
getTitle()
S
54 2 21
getShareAttributes()
S
54 2 20
getCategory()
S
70 3 5
getField()
S
67 3 7
getFormFields()
S
65 3 9
getPreview()
S
62 2 11
setError()
S
77 2 3
getErrorMessage()
S
78 2 3
getRatings()
S
62 2 10
render()
S
66 2 9
getCategoryName()
S
75 2 4
save()
S
65 2 9
isOwner()
S
68 2 6
hasVoted()
S
69 2 7
getPermalink()
S
69 2 6
getPercentageWithLabel()
S
73 2 4
getPercentage()
S
74 2 4
jsonSerialize()
S
81 1 3
getPrefix()
S
76 1 4
getScreen()
S
82 1 3
setScreen()
S
76 1 4
getAttribute()
S
69 1 7
getTemplateId()
S
78 1 4
getAttributes()
S
82 1 3
getContent()
S
71 1 5
getDateDiff()
S
74 1 4
__toString()
S
80 1 3
getId()
S
81 1 3
getUrl()
S
71 1 6
getReceivedVotes()
S
82 1 3
getReceivedViews()
S
82 1 3
incrementVotes()
S
71 1 6
incrementViews()
S
73 1 5
getAction()
S
82 1 3
setAction()
S
80 1 3
getVotesWithLabel()
S
77 1 3
getVotesNumber()
S
80 1 3
getAjaxUrl()
S
71 1 6
setForm()
S
80 1 3
getFields()
S
79 1 3
getViews()
S
80 1 3
getRateWithLabel()
S
72 1 5
getRateNumber()
S
79 1 3
getRate()
S
80 1 3
getType()
S
79 1 3
getSubtitle()
S
78 1 3
getViewsWithLabel()
S
77 1 3
getViewsNumber()
S
80 1 3
getVotes()
S
80 1 3
isApproved()
S
74 1 4
getLimitations()
S
82 1 3
getAdminEditLink()
S
79 1 3
getRestrictions()
S
82 1 3
isWinner()
S
79 1 3
getError()
S
82 1 3
getDate()
S
82 1 3
getContest()
S
82 1 3
hasError()
S
80 1 3
getSubmissionPost()
S
82 1 3
getAuthor()
S
80 1 3
getForm()
S
82 1 3
isEmbeddable()
S
78 1 3